﻿
IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[sproc_Flow_AddStyle_V2]') AND type in (N'P', N'PC'))
    DROP PROCEDURE [dbo].[sproc_Flow_AddStyle_V2];
GO
CREATE PROCEDURE [dbo].[sproc_Flow_AddStyle_V2]
    @StyleName nvarchar(64),
    @StyleRemark nvarchar(max),
    @Teamplate nvarchar(256)
AS
BEGIN
SET NOCOUNT ON;

INSERT INTO dbo.UDS_Flow_Style (style_name,style_remark,template) VALUES (@StyleName, @StyleRemark, @Teamplate);
RETURN @@identity;

END
GO